<?php
/*********************************************************************************************************
	Structure.php
	
	Structure de n'importe quelle page du site, on y retrouve les include du head, du header, et du footer
	et on module l'include du contenu selon la variable $CONTENT_INCLUDE
	
*********************************************************************************************************/

require_once("fonctions.php");
?>

<!DOCTYPE html>
<html lang="fr">
	<head>
		<?php include_once("head.html");?>
	</head>
	<body onload = "<?php if (isset($_GET["page"])) { ?>displayPage()<?php } ?>">
		<header>
			<?php include_once("header.html");?>
		</header>
			<?php include_once($CONTENT_INCLUDE); ?>
		<footer>
			<?php include_once("footer.html"); ?>
		</footer>
	</body>
</html>